package com.csdj.thread;

public class ClibeThread implements Runnable{

    private int time;
    private int length;

    public ClibeThread(int time, int length) {
        this.time = time;
        this.length = length;
    }

    @Override
    public void run() {
        for(int i=1;i<length;i++){
//            try {
//                Thread.sleep(this.time);
//            } catch (InterruptedException e) {
//                e.printStackTrace();
//            }
            System.out.println(Thread.currentThread().getName()+"爬了"+i*100+"敉");
        }
        System.out.println(Thread.currentThread().getName()+"爬完了");
    }
}
